/**
 * 
 */
package t4j.strings;

import java.util.ArrayList;

import t4j.generics.coffee.Coffee;
import t4j.generics.coffee.CoffeeGenerator;

/**
 * @author sz
 *
 * create time：2012-11-23
 */
public class ArrayListDisplay {

	public static void main(String[] args) {
		ArrayList<Coffee> cofees = new ArrayList<Coffee>();
		
		for(Coffee c : new CoffeeGenerator(10) ){
			cofees.add(c);
		}
		
		System.out.println(cofees);
	}
}
